package com.jingyuan.common.entity.packet;

import java.io.Serializable;

public class MessageType{
    public static final int HEARTBEAT =0;   //心跳包
    public static final int VOTE=1;    //选举响应
    public static final int ONLINE_NOTIFY=2;   //上线通知消息
    public static final int OFFLINE_NOTIFY=3;  //主动下线通知消息
    public static final int MSG=4; //普通消息
    public static final int RESPONSE=5;    //普通消息的响应
    public static final int ONLINE_NOTIFY_ACK=6;    //上线确认报文
}